<%--
  Created by IntelliJ IDEA.
  User: jiangcuizhi
  Date: 2023/12/5
  Time: 20:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link rel="stylesheet" href="${ctx}/public/css/animate.css">
<link rel="stylesheet" href="${ctx}/public/css/login.css" />
<head>
    <title>Title</title>
</head>
<body>
<div class="container main">
    <div id="login" class="contain animated fadeInDown">
        <h1>注册</h1>
        <form action="${ctx}/register" method="post">
            <input type="text" name="username" class="form-control my_input" placeholder="请输入账号" required="required">
            <input type="password" name="password" class="form-control my_input" placeholder="请输入密码" required="required">
            <input type="password" name="cpwd" class="form-control my_input" placeholder="确认密码" required="required">
            <%--            <label for="gender">性别：</label>--%>
            <%--            <input name="gender" type="radio" value="1" checked="checked"/>男&nbsp;&nbsp;&nbsp;&nbsp;--%>
            <%--            <input name="gender" type="radio" value="0"/>女--%>
            <select id="" name="gender" class="form-control my_input" style="padding-top: 1px;">
                <option value="">请选择用户类型</option>
                <option value="男">男</option>
                <option value="女">女</option>
            </select>
            <input type="date" id="birthday" name="birthday" placeholder="请输入生日" class="form-control my_input" required="required">
            <select id="" name="typeOrAuthor" class="form-control my_input" style="padding-top: 1px;">
                <option value="">请选择用户类型</option>
                <option value="读者">读者</option>
                <option value="系统管理员">系统管理员</option>
                <option value="图书管理员">图书管理员</option>
            </select>
            <div class="form-control my_input"><a href="admin.jsp">返回登录</a></div>
            <input type="submit" class="form-control" value="注册">
        </form>
    </div>

</div>
<div style="position:fixed; bottom:0; right:0;">
    <a href="loginReader.html" target="_blank"><img src="${ctx}/public/image/reader.png" width="50px" height="50px"></a><br>
    <a href="loginManager.html" target="_blank"><img src="${ctx}/public/image/manager.png" width="50px" height="50px"></a>
</div>
<script src="${ctx}/public/js/layer/layer.js"></script>
</body>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

</html>